<template>
  <div class="barWrapper" @click="handleClick">
    <div class="leftText">{{lefttext}}</div>
    <div class="rightText">{{righttext}}</div>
    <div class="arrow">
      <span class="iconfont iconjiantou1"></span>
    </div>
  </div>
</template>
<script>
export default {
  props: ["lefttext", "righttext"],
  methods: {
    handleClick() {
      this.$emit("handleClick");
    }
  }
};
</script>

<style lang="less" scoped>
.barWrapper {
  display: flex;
  padding: 5.556vw;
  border-bottom: 1px solid #e4e4e4;
  padding-left: 0;
  margin-left: 5.556vw;
  .leftText {
    color: #333;
  }
  .rightText {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #afafaf;
    font-size: 4.444vw;
  }
  .arrow {
    color: #afafaf;
    padding-left: 2.222vw;
  }
}
</style>